package common;

import java.io.Serializable;

/**
 * This class represents statistic report
 * 
 */
public class StatisticReportItem implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -17611815416992261L;
	private int median;
	private double average;
	private int[] destribution;
	
	/**
	 * Median getter
	 * @return Median
	 */
	public int getMedian() {
		return median;
	}
	
	/**
	 * Median setter
	 * @param median Median
	 */
	public void setMedian(int median) {
		this.median = median;
	}
	
	/**
	 * Average getter
	 * @return Average
	 */
	public double getAverage() {
		return average;
	}
	
	/**
	 * Average setter
	 * @param average Average
	 */
	public void setAverage(double average) {
		this.average = average;
	}
	
	/**
	 * Grade destribution getter
	 * @return destribution Grade destribution
	 */
	public int[] getDestribution() {
		return destribution;
	}
	
	/**
	 * Grade destribution setter
	 * @param destribution Grade destribution
	 */
	public void setDestribution(int[] destribution) {
		this.destribution = destribution;
	}
	
}
